import 'package:flutter_enjoy_plus/constants/index.dart';
import 'package:flutter_enjoy_plus/utils/RequestDio.dart';

Future<dynamic> getAnnounceListAPI({Map<String, dynamic>? params}) =>
    requestDio.get(HTTP_PATH.ANNOUNCE_LIST, params: params);

Future<dynamic> getAnnounceDetailAPI(String id) =>
    requestDio.get('${HTTP_PATH.ANNOUNCE_LIST}/$id');
